import request from '../utils/request'

/**
 * 用户登录
 * @param loginData
 * @returns
 */
const login = (loginData) => request({
  url: '/api/v1/admin/sessions',
  method: 'POST',
  data: loginData,
})
export default login